package com.dsp.soundscape.model;

import java.io.Serializable;


public class ZipInfo implements Serializable {
	private static final long serialVersionUID = 1526471232778399600L;
	
	private boolean completed = false;
	
	private String fileName;
	private String path;
	private String url;
	
	private int files;
	private int progress;
	
	public String getFileName() {
		return fileName;
	}
	public void setFileName(String fileName) {
		this.fileName = fileName;
	}
	
	public String getPath() {
		return path;
	}
	public void setPath(String path) {
		this.path = path;
	}
	
	public Integer getFiles() {
		return files;
	}
	public void setFiles(Integer files) {
		this.files = files;
	}
	
	public Integer getProgress() {
		return progress;
	}
	public void setProgress(Integer progress) {
		this.progress = progress;
	}
	
	public boolean isCompleted() {
		return completed;
	}
	public void setCompleted(boolean completed) {
		this.completed = completed;
	}
	
	public String getUrl() {
		return url;
	}
	public void setUrl(String url) {
		this.url = url;
	}
	public void tickProgress() {
		progress++;
	}
	
	@Override
	public String toString() {
		return "ZipInfo [completed=" + completed + ", fileName=" + fileName
				+ ", files=" + files + ", path=" + path + ", progress="
				+ progress + "]";
	}
	
}